using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;

namespace WhsFacebook.Whs.Contracts
{
    public struct ErrorReportingStatus
    {
        public bool IsSubmitting;
        public float Progress;

        public int Submitted;
        public int Unsubmitted;
    }

    partial interface ISingletonService
    {
        [OperationContract]
        bool IsErrorReportsSubmissionEnabled();

        [OperationContract]
        void SetErrorReportsSubmissionEnabled(bool enable);

        [OperationContract]
        ErrorReportingStatus GetErrorReportingStatus();
    }
}
